﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="UpdateAdvertise.ascx.cs"
    Inherits="Framework.Module.Adsvertising.Admin.UpdateAdvertise" %>
<%@ Register Src="UserControls/SelectDate.ascx" TagName="SelectDate" TagPrefix="uc1" %>
<table id="Table1" cellspacing="0" cellpadding="3" border="0">
    <tr align="center">
        <td width="170">
            <b>
                <asp:Label ID="lblPosition" runat="server" Text="lblPosition" meta:resourcekey="Label1Resource1"></asp:Label></b></td>
        <td>
            <b>
                <asp:Label ID="lblZone" runat="server" Text="lblZone" meta:resourcekey="lblZoneResource1"></asp:Label></b></td>
    </tr>
    <tr align="center">
        <td>
            <asp:ListBox ID="lstPositions" runat="server" Width="260px" Height="152px" meta:resourcekey="lstPositionsResource1">
            </asp:ListBox></td>
        <td>
            <asp:ListBox ID="lstZones" runat="server" Width="420px" Height="152px" SelectionMode="Multiple"
                meta:resourcekey="lstZonesResource1"></asp:ListBox></td>
    </tr>
</table>
<br>
<table class="SidePanel" cellspacing="0" cellpadding="5" border="0">
    <tr>
        <td colspan="2">
            <asp:Label ID="lblStatusUpdate" runat="server" meta:resourcekey="lblStatusUpdateResource1"
                ForeColor="blue"></asp:Label></td>
    </tr>
    <tr>
        <td width="15%">
        </td>
        <td>
            <asp:TextBox ID="txtID" Width="352px" runat="server" Enabled="False" Visible="False"
                meta:resourcekey="txtIDResource1"></asp:TextBox></td>
    </tr>
    <tr>
        <td width="15%">
            <asp:Label ID="lblAdsName" runat="server" Text="lblAdsName" meta:resourcekey="lblAdsNameResource1"></asp:Label></td>
        <td>
            <asp:TextBox ID="txtName" Width="352px" runat="server" meta:resourcekey="txtNameResource1"></asp:TextBox>
            <asp:RequiredFieldValidator ID="Requiredfieldvalidator3" runat="server" Display="Dynamic"
                ControlToValidate="txtName" ErrorMessage="(*)" meta:resourcekey="Requiredfieldvalidator3Resource1"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td width="15%">
            <asp:Label ID="lblTypeOfAds" runat="server" Text="lblTypeOfAds" meta:resourcekey="Label2Resource1"></asp:Label></td>
        <td>
            <asp:DropDownList ID="dropType" runat="server" CssClass="Input" meta:resourcekey="dropTypeResource1">
                <asp:ListItem Value="image" meta:resourcekey="ListItemResource1" Text="Image"></asp:ListItem>
                <asp:ListItem Value="flash" meta:resourcekey="ListItemResource2" Text="Flash"></asp:ListItem>
                <asp:ListItem Value="media" meta:resourcekey="ListItemResource3" Text="Media"></asp:ListItem>
                <asp:ListItem Value="other" meta:resourcekey="ListItemResource4" Text="Other"></asp:ListItem>
            </asp:DropDownList>&nbsp;&nbsp; Kiểu mở ra&nbsp;
            <asp:TextBox ID="txtTarget" Width="96px" runat="server" meta:resourcekey="txtTargetResource1"></asp:TextBox></td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblFile" runat="server" Text="lblFile" meta:resourcekey="Label3Resource1"></asp:Label></td>
        <td>
            <asp:FileUpload runat="server" ID="FileUpload1" meta:resourcekey="FileUpload1Resource1">
            </asp:FileUpload></td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblPointAddress" runat="server" Text="lblPointAddress" meta:resourcekey="Label4Resource1"></asp:Label></td>
        <td>
            <asp:TextBox ID="txtUrl" Width="352px" runat="server" meta:resourcekey="txtUrlResource1"
                Text="http://"></asp:TextBox></td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblSize" runat="server" Text="lblSize" meta:resourcekey="Label5Resource1"></asp:Label></td>
        <td>
            <asp:TextBox ID="txtWidth" Width="40px" runat="server" meta:resourcekey="txtWidthResource1"
                Text="0"></asp:TextBox>&nbsp;x
            <asp:TextBox ID="txtHeight" Width="40px" runat="server" meta:resourcekey="txtHeightResource1"
                Text="0"></asp:TextBox>&nbsp;(pixel)</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblStartDate" runat="server" Text="lblStartDate" meta:resourcekey="Label6Resource1"></asp:Label></td>
        <td>
            <uc1:SelectDate ID="SelectDate1" runat="server" />
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblEndDate" runat="server" Text="lblEndDate" meta:resourcekey="Label7Resource1"></asp:Label></td>
        <td>
            <uc1:SelectDate ID="SelectDate2" runat="server" />
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblUser" runat="server" Text="lblUser" meta:resourcekey="Label8Resource1"></asp:Label></td>
        <td>
            <asp:CheckBox ID="chkEnable" runat="server" Checked="True" meta:resourcekey="chkEnableResource1">
            </asp:CheckBox></td>
    </tr>
    <tr>
        <td colspan="2">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="lstPositions"
                ErrorMessage="Phải nhập vị trí đăng quảng cáo" meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator><br>
            <asp:RequiredFieldValidator ID="Requiredfieldvalidator2" runat="server" ErrorMessage="Phải nhập khu vực đăng quảng cáo"
                ControlToValidate="lstZones" meta:resourcekey="Requiredfieldvalidator2Resource1"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td align="center" colspan="2">
            <asp:Button ID="cmdUpdate" CssClass="solidbutton" runat="server" Text="Cập nhật"
                OnClick="cmdUpdate_Click" meta:resourcekey="cmdUpdateResource1"></asp:Button>
            <asp:Button ID="cmdAddNew" CssClass="solidbutton" runat="server" Text="Thêm mới"
                OnClick="cmdAddNew_Click" meta:resourcekey="cmdAddNewResource1"></asp:Button>
            <asp:Button ID="cmdAddNext" CssClass="solidbutton" runat="server" Text="Thêm tiếp"
                OnClick="cmdAddNext_Click" meta:resourcekey="cmdAddNextResource1"></asp:Button>
            <asp:Button ID="cmdEmpty" CssClass="solidbutton" runat="server" Text="Hủy" CausesValidation="False"
                OnClick="cmdEmpty_Click" meta:resourcekey="cmdEmptyResource1"></asp:Button></td>
    </tr>
</table>
